<template>
  <el-row id="zuos">
    <el-col :span="4" class="zuo">
      <el-menu default-active="2" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" background-color="#ffff" text-color="black" router>
        <el-menu-item index="/employee/systememployee/basic">
          <span slot="title">基础配置</span>
        </el-menu-item>
        <el-menu-item index="/employee/systememployee/personal">
          <span slot="title">个人信息</span>
        </el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="2" class="kong">
    </el-col>
    <router-view />
  </el-row>
</template> 

<script>
export default {
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>

<style lang="less" scoped>
#zuos {
  height: 90%;
}
.zuo {
  height: 100%;
}
.el-menu-vertical-demo {
  height: 100%;
  border-right: 1px solid rgb(230, 230, 230);
  border-top: 1px solid rgb(230, 230, 230);
}
.el-menu-item {
  text-align: center;
  border-bottom: 1px solid rgb(230, 230, 230);
}
.kong {
  height: 1px;
}
</style>